package com.spa.infrastructure.mapper;

import com.spa.domain.entity.AuthUser;
import com.spa.infrastructure.repository.po.AuthUserPO;
import org.mapstruct.Mapper;
import org.mapstruct.MapperConfig;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

@Mapper
@MapperConfig(unmappedTargetPolicy = ReportingPolicy.WARN)
public interface AuthUserMapperStruct {

    AuthUserMapperStruct INSTANCE = Mappers.getMapper(AuthUserMapperStruct.class);


    AuthUser po2Entity(AuthUserPO po);

    AuthUserPO entity2po(AuthUser entity);


}
